home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_5520.txt < prev    next >
Text File  |  1994-03-01  |  485b  |  12 lines

  1. 5 ONERRORGOTO500
  2. 10 MODE8:DIM:a=0:c=0:c$=CHR$(5)
  3. 20 CLS:PRINT"Angle(é) - y=ax+b,y=cx+d";
  4. 30 s$="a":z=a:GOSUB100:a=z
  5. 40 s$="c":z=c:GOSUB100:c=z:LOCATE0,1
  6. 60 IFa=c THENPRINTc$;"Parallel"; ELSEIFa*c=-1 THENPRINTc$;"Right angle"; ELSEPRINTc$;"é =";ATN((c-a)/(1+c*a));
  7. 70 w$=INPUT$(1,@):GOTO30
  8. 100 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@42;z:LOCATE0,0:RETURN
  9. 500 IFERR=1 THENCLS:ONERRORGOTO0
  10. 510 IFERL=100 THENRESUME100
  11. 520 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME20
  12.